package com.qf.purchase.po;

import java.util.Date;

public class PurchaseOrder {
    private int id;
    private String number;
    private Date poTime;
    private String amount;
    private String userPerson;
    private String status;
    private String content;
    private String auditor;
    private Date auditTime;
    private String auditorId;

    public PurchaseOrder(){}

    public PurchaseOrder(String number, Date poTime, String amount, String userPerson, String status) {
        this.number = number;
        this.poTime = poTime;
        this.amount = amount;
        this.userPerson = userPerson;
        this.status = status;
    }
    public PurchaseOrder(String number, Date poTime, String amount, String userPerson, String status, String content, String auditor, Date auditTime, String auditorId) {
        this.number = number;
        this.poTime = poTime;
        this.amount = amount;
        this.userPerson = userPerson;
        this.status = status;
        this.content = content;
        this.auditor = auditor;
        this.auditTime = auditTime;
        this.auditorId = auditorId;
    }

    public PurchaseOrder(String number, String amount) {
        this.amount = amount;
        this.number = number;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public Date getPoTime() {
        return poTime;
    }

    public void setPoTime(Date poTime) {
        this.poTime = poTime;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public String getUserPerson() {
        return userPerson;
    }

    public void setUserPerson(String userPerson) {
        this.userPerson = userPerson;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getAuditor() {
        return auditor;
    }

    public void setAuditor(String auditor) {
        this.auditor = auditor;
    }

    public Date getAuditTime() {
        return auditTime;
    }

    public void setAuditTime(Date auditTime) {
        this.auditTime = auditTime;
    }

    public String getAuditorId() {
        return auditorId;
    }

    public void setAuditorId(String auditorId) {
        this.auditorId = auditorId;
    }

    @Override
    public String toString() {
        return "PurchaseOrder{" +
                "id=" + id +
                ", number='" + number + '\'' +
                ", poTime=" + poTime +
                ", amount=" + amount +
                ", userPerson='" + userPerson + '\'' +
                ", status='" + status + '\'' +
                ", content='" + content + '\'' +
                ", auditor='" + auditor + '\'' +
                ", auditTime=" + auditTime +
                ", auditorId='" + auditorId + '\'' +
                '}';
    }
}
